package com.cloud.shopping.search;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

/**
 * @author John.zhang
 * @version Id: ShoppingSearchApplication, v 1.0 2020/12/31 10:54 ZhiYong Exp $
 */

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableElasticsearchRepositories(basePackages = "com.cloud.shopping.search.mapper")
public class ShoppingSearchApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShoppingSearchApplication.class);
    }

}
